package entity.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 投诉表
 * </p>
 *
 * @author ZL
 * @since 2022-11-12
 */
@Getter
@Setter
@TableName("complaint")
public class Complaint implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 订单ID
     */
    @TableField("order_id")
    private Integer orderId;

    /**
     * 投诉人
     */
    @TableField("complained")
    private Integer complained;

    /**
     * 被投诉人
     */
    @TableField("be_complained")
    private String beComplained;

    /**
     * 投诉标题
     */
    @TableField("complaint_headline")
    private String complaintHeadline;

    /**
     * 投诉内容
     */
    @TableField("complaint_remark")
    private String complaintRemark;

    /**
     * 图片
     */
    @TableField("complaint_pricture")
    private String complaintPricture;

    /**
     * 投诉状态
     */
    @TableField("complaint_status")
    private String complaintStatus;

    /**
     * 截止时间
     */
    @TableField("by_time")
    private LocalDateTime byTime;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    @TableField("update_time")
    private LocalDateTime updateTime;

    /**
     * 删除标识
     */
    @TableField("delete_flag")
    private String deleteFlag;


}
